<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
<#include "common/publicMETA.ftl"/>
    <title>AdminLTE 2 | Main</title>
<#include "common/publicCSS.ftl"/>
<#include "common/publicHeadJS.ftl"/>
<style>
        .d_input{
            height:37px;
            cursor: pointer;
        }
        .box-header .box-title{
            line-height:30px;
        }
        .box-header{
            padding: 5px;
        }
    </style>
</head>
<!--
BODY TAG OPTIONS:
=================
Apply one or more of the following classes to get the
desired effect
|---------------------------------------------------------|
| SKINS         | skin-blue                               |
|               | skin-black                              |
|               | skin-purple                             |
|               | skin-yellow                             |
|               | skin-red                                |
|               | skin-green                              |
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed                                   |
|               | layout-boxed                            |
|               | layout-top-nav                          |
|               | sidebar-collapse                        |
|               | sidebar-mini                            |
|---------------------------------------------------------|
-->
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <#include "common/mainHeader.ftl">
    <#include "common/mainSidebar.ftl"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <#--<section class="content-header">-->
            <#--<h1>-->
                <#--首页-->
                <#--<small>记账盘</small>-->
            <#--</h1>-->
            <#--<ol class="breadcrumb">-->
                <#--<li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>-->
                <#--<li class="active">Here</li>-->
            <#--</ol>-->
        <#--</section>-->

        <!-- Main content -->
        <section class="content">
            <form id="drawform">
            <div class="row">
                <div class="col-md-9 col-sm-9 col-xs-12">
                    <div class="box">
                        <div class="box-header with-border">
                            <h3 class="box-title">数字盘 9倍</h3>
                        </div>
                        <div class="box-body table-responsive no-padding">
                            <table class="table table-bordered">
                                <tr>
                                    <td rowspan="2" width="10%">第一球</td>
                                    <td width="9%">0</td>
                                    <td width="9%">1</td>
                                    <td width="9%">2</td>
                                    <td width="9%">3</td>
                                    <td width="9%">4</td>
                                    <td width="9%">5</td>
                                    <td width="9%">6</td>
                                    <td width="9%">7</td>
                                    <td width="9%">8</td>
                                    <td width="9%">9</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="1_0"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_1"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_2"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_3"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_4"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_5"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_6"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_7"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_8"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_9"></td>
                                <tr>
                                    <td rowspan="2">第二球</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="2_0"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_1"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_2"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_3"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_4"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_5"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_6"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_7"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_8"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_9"></td>
                                </tr>
                                <tr>
                                    <td rowspan="2">第三球</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="3_0"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_1"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_2"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_3"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_4"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_5"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_6"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_7"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_8"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_9"></td>
                                </tr>
                                <tr>
                                    <td rowspan="2">第四球</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="4_0"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_1"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_2"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_3"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_4"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_5"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_6"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_7"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_8"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_9"></td>
                                </tr>
                                <tr>
                                    <td rowspan="2">第五球</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="5_0"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_1"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_2"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_3"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_4"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_5"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_6"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_7"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_8"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_9"></td>
                                </tr>
                            </table>
                        </div>
                    </div>

                </div>
                <div class="col-md-3 col-sm-3 col-xs-12">
                    <div class="box">
                        <div class="box-header with-border">
                            <h3 class="box-title">双面盘 1.9倍</h3>
                        </div>
                        <div class="box-body table-responsive no-padding">
                            <table class="table table-bordered">
                                <tr>
                                    <td width="25%">大</td>
                                    <td width="25%">小</td>
                                    <td width="25%">单</td>
                                    <td width="25%">双</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="1_big"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_small"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_single"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="1_double"></td>
                                </tr>
                                <tr>
                                    <td>大</td>
                                    <td>小</td>
                                    <td>单</td>
                                    <td>双</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="2_big"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_small"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_single"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="2_double"></td>
                                </tr>
                                <tr>
                                    <td>大</td>
                                    <td>小</td>
                                    <td>单</td>
                                    <td>双</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="3_big"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_small"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_single"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="3_double"></td>
                                </tr>
                                <tr>
                                    <td>大</td>
                                    <td>小</td>
                                    <td>单</td>
                                    <td>双</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="4_big"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_small"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_single"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="4_double"></td>
                                </tr>
                                <tr>
                                    <td>大</td>
                                    <td>小</td>
                                    <td>单</td>
                                    <td>双</td>
                                </tr>
                                <tr>
                                    <td class="d_input"><span></span><input type="hidden" name="5_big"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_small"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_single"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="5_double"></td>
                                </tr>
                            </table>
                        </div>
                    </div>

                </div>
            </div>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="box">
                        <div class="box-header with-border">
                            <h3 class="box-title">综合、龙虎盘</h3>
                        </div>
                        <div class="box-body table-responsive no-padding">
                            <table class="table table-bordered">
                                <tr>
                                    <td></td>
                                    <td>大1.9</td>
                                    <td>小1.9</td>
                                    <td>单1.9</td>
                                    <td>双1.9</td>
                                    <td>龙1.9</td>
                                    <td>虎1.9</td>
                                    <td>和9</td>
                                </tr>
                                <tr>
                                    <td>总和</td>
                                    <td class="d_input"><span></span><input type="hidden" name="6_big"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="6_small"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="6_single"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="6_double"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="6_dragon"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="6_tiger"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="6_peace"></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>豹子70</td>
                                    <td>顺子14</td>
                                    <td>对子3</td>
                                    <td>半顺2</td>
                                    <td>杂六3</td>
                                    <td><a href="javascript:void(0);" onclick="open3start();">三星</a></td>
                                    <td><a href="javascript:void(0);" onclick="open3start();">五选二</a></td>
                                </tr>
                                <tr>
                                    <td>前三</td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befleopard"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befpair"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befhalfstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befmix6"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befhalfstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befmix6"></td>
                                </tr>
                                <tr>
                                    <td>中三</td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_midleopard"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_minstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_minpair"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_minhalfstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_minmix6"></td>
                                    <td><a href="javascript:void(0);" onclick="open3start();">综合对子</a></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>后三</td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_aftleopard"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_aftstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_aftpair"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_afthalfstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_aftmix6"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befhalfstraight"></td>
                                    <td class="d_input"><span></span><input type="hidden" name="7_befmix6"></td>
                                </tr>
                            </table>
                        </div>
                    </div>

                </div>
            </div>
            </form>
            <!-- Your Page Content Here -->


        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    <#include "common/mainFooter.ftl"/>
    <#--<#include "common/controlSidebar.ftl"/>-->
</div>
<!-- ./wrapper -->
<!-- REQUIRED JS SCRIPTS -->
<#include "common/publicFootJS.ftl"/>
<script>
    $(document).ready(function(){
        $(".index_draw").css({"display":""});
    });
    $(".d_input").click(function () {
        $(".d_input").css("background-color","");
        $(".d_input").removeClass("inputing");
        $(this).css("background-color","#ff851b");
        $(this).addClass("inputing");
    });
    /*增加5*/
    function addfive(){
        if($(".inputing").length==0){
            layer.msg('请选择号码！');
        }
        var data=$(".inputing").text();
        if(!data){
            data=0;
        }
        data=parseInt(data);
        data+=5;
        $(".inputing").children("input").val(data);
        $(".inputing").children("span").text(data);
    }
    /*增加10*/
    function addTen(){
        if($(".inputing").length==0){
            layer.msg('请选择号码！');
        }
        var data=$(".inputing").text();
        if(!data){
            data=0;
        }
        data=parseInt(data);
        data+=10;
        $(".inputing").children("input").val(data);
        $(".inputing").children("span").text(data);
    }
    /*增加100*/
    function addHundred(){
        if($(".inputing").length==0){
            layer.msg('请选择号码！');
        }
        var data=$(".inputing").text();
        if(!data){
            data=0;
        }
        data=parseInt(data);
        data+=100;
        $(".inputing").children("input").val(data);
        $(".inputing").children("span").text(data);
    }
    /*增加1000*/
    function addThousand(){
        if($(".inputing").length==0){
            layer.msg('请选择号码！');
        }
        var data=$(".inputing").text();
        if(!data){
            data=0;
        }
        data=parseInt(data);
        data+=1000;
        $(".inputing").children("input").val(data);
        $(".inputing").children("span").text(data);
    }
    /*清空数据*/
    function emptyData(){
        if($(".inputing").length==0){
            layer.msg('请选择号码！');
        }
        $(".inputing").text("");
    }
    /*清空所以数据*/
    function emptyAllData() {
        if($(".inputing").length==0){
            layer.msg('请选择号码！');
        }
        $(".d_input").text("");
        $(".d_input").each(function () {
            this.children("input").val("");
        });
    }
    /*打印列表数据展示*/
    function openDataList() {
        var data = {};
        $("#drawform").serializeArray().map(function(x){
            if(x.value){
                data[x.name] = x.value;
            }
        });
        alert(JSON.stringify(data))
    }
    /*三星选择*/
    function open3start(){
        layer.msg('hello');
    }
</script>
<!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. Slimscroll is required when using the
     fixed layout. -->
</body>
</html>
